package com.qdu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * CommentInfo
 * @author 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Commentinfo implements Serializable {
    private String cid;

    private String uid;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date cdate;

    private String hid;

    private String ccontent;

    private static final long serialVersionUID = 1L;
}